package com.java.comprehensive.design.behavioral_model.visitor_pattern;

/**
 * @Author 窦绍飞
 * @create 2023/3/2
 */
public class Client {
	public static void main(String[] args) {
		Home home = new Home();
		home.add(new Cat());
		home.add(new Dog());

		home.action(new Owner());
	}
}
